package haizhi.fruitmall.pojo.form;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @Date: 2017/12/23 10:45
 * @Author: Richard Zane
 */

@Data
@EqualsAndHashCode(callSuper = false)
public class GoodsCategoryForm extends BaseForm {

    private Integer categoryId;

    private String categoryName;

    private String picturePath;

    private Integer categoryPid;

    private Boolean isParent;

    private List<Integer> categoryIdList;

    private List<Integer> categoryPidList;

    public GoodsCategoryForm() {
    }

    public GoodsCategoryForm(Boolean isParent){
        this.isParent = isParent;
    }

    public GoodsCategoryForm(List<Integer> categoryPidList) {
        this.categoryPidList = categoryPidList;
    }
}
